package com.zheng.pvz.model.proxy
{
	import com.zheng.pvz.model.vo.PlantVo;
	
	/**
	 * 作物数据处理 
	 * @author Administrator
	 * 
	 */
	public class PlantProxy extends DisplayProxy
	{
		public function PlantProxy(vo:PlantVo)
		{
			super(vo)
		}
		
		public function get spanTime():int{
			return PlantVo(vo).spanTime;
		}
		
		public function set isLand(value:Boolean):void{
			PlantVo(vo).isLand=value;
		}
		public function set isAttack(value:Boolean):void{
			PlantVo(vo).isAttack=value;
		}
		public function set isInvade(value:Boolean):void{
			PlantVo(vo).isInvade=value;
		}
		public function get isInvade():Boolean{
			return PlantVo(vo).isInvade;
		}
	}
}